#include <QtGui/QApplication>
#include  "qmlapplicationviewer.h"
#include "mainwindow.h"

int main(int argc, char *argv[])
{

    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    QmlApplicationViewer viewer;
    viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);

    viewer.setMainQmlFile(QUrl("qml/mainAlternative.qml").toString());
    viewer.showExpanded();
    return a.exec();
}
